.Dd December 30, 2021
.Dt wrcinfo
.Os libwrc
.Sh NAME
.Nm wrcinfo
.Nd determines information about a Windows Resource (RC) streams
in the .rsrc section of a MZ, PE/COFF executable
.Sh SYNOPSIS
.Nm wrcinfo
.Op Fl hHvV
.Op Fl c Ar codepage
.Ar source
.Sh DESCRIPTION
.Nm wrcinfo
is a utility to determine information about a Windows Resource (RC) streams
in the .rsrc section of a MZ, PE/COFF executable
.Pp
.Nm wrcinfo
is part of the
.Nm libwrc
package.
.Nm libwrc
is a library to access the Windows Resource Compiler (WRC) format
.Pp
.Ar source
is the source file.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl c Ar codepage
specify the codepage of ASCII strings, options: ascii, windows-874, windows-932, windows-936, windows-949, windows-950, windows-1250, windows-1251, windows-1252 (default), windows-1253, windows-1254, windows-1255, windows-1256, windows-1257 or windows-1258
.It Fl h
shows this help
.It Fl H
shows the resource hierarchy
.It Fl v
verbose output to stderr
.It Fl V
print version
.El
.Sh ENVIRONMENT
None
.Sh FILES
None
.Sh EXAMPLES
.Bd -literal
# wrcinfo adtschema.dll
wrcinfo 20211230
.sp
Windows Resource (RC) information:
.sp
Resources:
	11 (MESSAGETABLE)
	14 (VERSIONINFO)
	WEVT_TEMPLATE
	MUI
.sp
Version resource:
	number of languages	: 1
.sp
	language identifier	: 0x00000409 (en-US)
	file version		: 6.0.6000.16386
	product version		: 6.0.6000.16386
.sp
MUI resource:
	number of languages	: 1
.sp
	language identifier	: 0x00000409 (en-US)
	file type		: 0x00000011
	main name		: WEVT_TEMPLATE
	MUI name		: MUI
	language		: en-US
	fallback language	: en-US
.sp
Message-table resource:
	number of languages	: 1
.sp
	language identifier	: 0x00000409 (en-US)
	number of messages	: 399
.sp
	message			: 0
	identifier		: 0x70003000
	data			: Security State Change
.sp
.Dl ...
.sp
.Ed
.Sh DIAGNOSTICS
Errors, verbose and debug output are printed to stderr when verbose output \-v is enabled.
Verbose and debug output are only printed when enabled at compilation.
.Sh BUGS
Please report bugs of any kind to <joachim.metz@gmail.com> or on the project website:
https://github.com/libyal/libwrc/
.Sh AUTHOR
These man pages were written by Joachim Metz.
.Sh COPYRIGHT
Copyright (C) 2011-2024, Joachim Metz <joachim.metz@gmail.com>.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.Sh SEE ALSO
.Xr wrcexport 1
